const tokenKey = "business_access_token";
const cookies = {
  getToken: () => {
    return sessionStorage.getItem(tokenKey);
  },
  setToken: (token) => {
    sessionStorage.setItem(tokenKey, token);
  },
  removeToken: () => {
    sessionStorage.removeItem(tokenKey);
  },

  getCookies: (key) => {
    return sessionStorage.getItem(key);
  },
  setCookies: (key, value) => {
    sessionStorage.setItem(key, value);
  },
  removeCookies: (key) => {
    sessionStorage.removeItem(key);
  },

};
export default cookies;
